import { Card, Table, Button } from 'antd';

export default function SalesDelivery() {
  const columns = [
    {
      title: '物流单号',
      dataIndex: 'trackingNo',
    },
    {
      title: '承运商',
      dataIndex: 'carrier',
    },
    {
      title: '预计到达',
      dataIndex: 'eta',
    },
    {
      title: '操作',
      render: () => (
        <Button type="link">物流详情</Button>
      ),
    },
  ];

  return (
    <div style={{ padding: 24 }}>
      <Card title="销售发货管理">
        <Button type="primary" style={{ marginBottom: 16 }}>新建发货</Button>
        <Table columns={columns} rowKey="id" />
      </Card>
    </div>
  );
}